package com.blog.effective.note2;

/**
 * Created by 张俊强~ on 2017/10/29.
 */
public class EffectiveJavaDemoOne {

    public static void main(String[] args) {

        UserInfo userInfo=new UserInfo.Builder("001","张三").setUserAge("23")
                .setUserEmail("test@test.com")
                .setUserSexAndPosition("男","Java程序员").build();

        System.out.println(userInfo.toString());

    }

}

